import {combineReducers} from 'redux';
import userReduer from './user';
import articleReduer from './article';
import {connectRouter} from 'connected-react-router'

const createRootReducer = (history)=>combineReducers({
    user:userReduer,
    article:articleReduer,
    router:connectRouter(history)
})

export default createRootReducer